import React from 'react';
import track from 'utils/track';
import intl from '../../../locale';

export default class Solution extends React.Component {
  render() {
    return (
      <span
        onClick={() => {
          track({
            action: 'check_the_solution',
            page: 'Ceiling',
          });
        }}
      >
        {intl.get({
          id: 'code-assets.initNavigation.initHelp.solution.YunxiaoCollege',
          defaultMessage: '最佳实践',
        })}
      </span>
    );
  }
}
